<?php 

/**
 * 党建工作-村党员展示
 */

namespace app\admin\controller;

use \think\Request;
use app\common\Common;

class Partymember extends Base{

    public function _initialize() {
        parent::_initialize();
        // $this->indexView = 'member:list';
        $this->model = 'member';
        $this->defaultWhere = ['isParty'=>1,'isDelete'=>2,'villageId'=>session('ADMIN')['villageId']]; //default where
    }

    public function index() {
        return parent::index();
    }

}